﻿#pragma once
#include<qstring.h>
#include<qpixmap.h>
#include<qurl.h>
#include<qmetatype.h>
struct Song
{

public:
	Song (
		QString singerName = ""
		, QString pix = ":/icons/defaultCover.jpg"
		, QString lyrics = ""
		);
	QString hash;
	QString singerName;
	QString songName;	
	QString lyrics;	//歌词
	QString cover;	//封面
	int duration_s;	//时长
	int size;		//大小
	QString path;		//所在路径
	QString type;		//后缀
	//QString srcFrom;	//来源
	QUrl url;

};

Q_DECLARE_METATYPE(Song)